//
//  GQHTruckInfoView.h
//  Xanthium
//
//  Created by GuanQinghao on 09/03/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GQHTruckModel.h"


@protocol GQHTruckInfoViewDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 联系司机
- (void)qh_dial:(UIButton *)sender;
/// 推送货源
- (void)qh_pushFreight:(UIButton *)sender;
/// 更多路线
- (void)qh_checkMoreRoutes:(UIButton *)sender;
/// 更多评价
- (void)qh_checkMoreReviews:(UIButton *)sender;
/// 关注或取消关注
- (void)qh_followedOrUnfollowed:(UIButton *)sender;

@end


@interface GQHTruckInfoView : UIView

/// 代理
@property (nonatomic, weak) id<GQHTruckInfoViewDelegate> qh_delegate;

/// 车辆详情列表
@property (nonatomic, strong) UITableView *qh_tableView;

/// 车辆详情模型
@property (nonatomic, strong) GQHTruckModel *qh_truckModel;

@end
